﻿<%@ Page Title="" Language="C#" MasterPageFile="Home.master" %>
<%@ Register src="../module/Album-List.ascx" tagname="Album" tagprefix="inal" %>
<%@ Register src="../module/Types-List.ascx" tagname="Types" tagprefix="inal" %>
<script runat="server">
    public int Item_Id = 0;
    public Album album;
    public string RealText;
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Request.QueryString["id"] != null)
        {
            Item_Id = Convert.ToInt32(Request.QueryString["Id"].ToString().Trim());
            album = new Album(Item_Id);
        }
    }
</script>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <title><%=album.Item_Title %> - <%=Lang.Show("WenSizeName")%></title>
    <style>
        #Columns {
            background-color: #fff;
        }

        #Columns span {
            background-image: none;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="Columns">
        <div class="layout">
            <inal:Types runat="server" Type="007" Root_Id="0" KeepUrl="album.aspx?" />
        </div>
    </div>
    <div class="ch10"></div>
    <div id="Album_View" class="layout">
        <!-- 标题 -->
        <h3><%=album.Item_Title %></h3>
        <!-- 图片 -->
        <img src="../DataFile/Album/<%=album.Create_Time.ToString("yyyyMM/ddHHmmss") %>.jpg" />
        <!-- 内容 -->
        <p><%=album.Item_Content %></p>
        <!-- 创建时间 -->
        <code>Time : <%=album.Create_Time.ToString("yyyy - MM") %><i><%=album.Create_Time.ToString("dd")%></i></code>
    </div>
</asp:Content>

